#pragma once
#include "TBasis2DStd.h"
#include "TBasis2D.h"
#include "ImageView.h"
#include "Tower.h"
#include "Monster.h"
#include "Bullet.h"
#include "ObjectManager.h"
#include "StartSeen.h"
#include "StageSeen01.h"
#include "TestSeen.h"

class Main : public TBasis2D
{
public:
	ULONG_PTR m_gpToken;
	HDC	m_hScreenDC;

	SeenObject *_StartSeen;
	SeenObject *_StageSeen01;
	SeenObject *_TestSeen;

	vector<SeenObject*> mSeenControl;

	RECT crt;
	CachedBitmap *pCBit;
public:
	void CallBAck();
	void EndGame();
	void ReturnStartSeen();
	LRESULT MsgProc(	HWND m_hWnd, 
								UINT message, 
								WPARAM wParam, 
								LPARAM lParam);
	bool Init();
	bool Frame();
	bool Render();	
	bool Release();
public:
	Main(void);
	~Main(void);
};
